﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleFactoryPattern
{
    class Program
    {
        public static void Main(string[] args)
        {
            LightSimpleFactory lsf = new LightSimpleFactory();

            Light l = lsf.Create("Bulb");
            l.TurnOn();
            l.TurnOff();

            Console.WriteLine("-----------------");

            l = lsf.Create("Tube");
            l.TurnOn();
            l.TurnOff();

            Customer customer = new Customer();
            customer.Cookie();
        }
    }
}
